package com.dog.basics.netty.security.config;

import cn.hutool.core.lang.Snowflake;
import lombok.AllArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@AllArgsConstructor
public class ApiBeanConfig {


    @Bean
    public Snowflake snowflake() {
        return new Snowflake(1,2);
    }

}
